package practice1_100;

import java.util.Arrays;
import java.util.Queue;
import java.util.concurrent.LinkedBlockingQueue;

public class Practice752 {
    public int openLock(String[] deadends, String target) {
        Queue<String> queue=new LinkedBlockingQueue<>();
        queue.add("0000");

        while (!queue.isEmpty()){
            int queueSize= queue.size();
            for (int i = 0; i < queueSize; i++) {
               String head= queue.poll();

            }

        }

        boolean a= Arrays.asList(deadends).contains("abc");
        System.out.println(a);
        return 1;
    }

    public static void main(String[] args) {
        new Practice752().openLock(new String[]{"0201","0101","0102","1212","2002","abc"},"111");
    }
}
